
const staticRoute = [
    {
        path: '/',
        redirect: '/login'
    },
    {
        path: '/login',
        component: () => import('../views/login.vue')
    },
    {
        path: '/dataView',
        name: 'layout',
        redirect: '/home',
        component: () => import('../views/dataView/main.vue'),
        children: [
            {
                path: '/home',
                component: () => import('@/views/dataView/home/index.vue')
            },
            {
                path: '/transferSetting',
                component: () => import('@/views/dataView/transferSetting/index.vue'),
            },
            {
                path: '/inspectionRecord',
                component: () => import('@/views/dataView/inspectionRecord/index.vue'),
            },
            {
                path: '/exportRecord',
                component: () => import('@/views/dataView/exportRecord/index.vue'),
            },
            {
                path: '/transferRecord',
                component: () => import('@/views/dataView/transferRecord/index.vue'),
            },
            {
                path: '/personnelVehicle',
                component: () => import('@/views/dataView/personnelVehicle/index.vue'),
            },
            {
                path: '/user/organizationManagement',
                component: () => import('@/views/dataView/user/components/organizationManagement/index.vue'),
            },
            {
                path: '/user/roleManagement',
                component: () => import('@/views/dataView/user/components/roleManagement/index.vue'),
            },
            {
                path: '/user/accountManagement',
                component: () => import('@/views/dataView/user/components/accountManagement/index.vue'),
            },
        ]
    }
]

export default staticRoute